package com.example.product_practices.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.product_practices.domain.Groups;
import com.example.product_practices.mapper.GroupsMapper;
import com.example.product_practices.service.IGroupsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GroupsServiceImpl extends ServiceImpl<GroupsMapper, Groups> implements IGroupsService {
    @Autowired
    GroupsMapper groupsMapper;
    @Override
    public Integer maxGroupID() {
        return groupsMapper.maxGroupId();
    }
}
